GET api/Personal/Order/InventorySoldByDate?inventoryID[0]={inventoryID[0]}&inventoryID[1]={inventoryID[1]}&collectionID[0]={collectionID[0]}&collectionID[1]={collectionID[1]}&repDID={repDID}&startOrderDate={startOrderDate}&endOrderDate={endOrderDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
inventoryID

Collection of string

Required

collectionID

Collection of string

Required

repDID

string

None.

startOrderDate

date

None.

endOrderDate

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OrderByProductIDViewModel
NameDescriptionTypeAdditional information
OrderID

integer

None.

OrderDate

date

None.

Products

Collection of OrderByProductIDDetailViewModel

None.

Response Formats

application/xml, text/xml

Sample:
<ListOfOrderByProductIDViewModel>
  <OrderByProductIDViewModel>
    <OrderID>1</OrderID>
    <OrderDate>04/26/2025 07:15:23</OrderDate>
    <Products>
      <OrderByProductIDDetailViewModel>
        <InventoryID>sample string 1</InventoryID>
        <ProductID>sample string 2</ProductID>
        <Quantity>3</Quantity>
      </OrderByProductIDDetailViewModel>
      <OrderByProductIDDetailViewModel>
        <InventoryID>sample string 1</InventoryID>
        <ProductID>sample string 2</ProductID>
        <Quantity>3</Quantity>
      </OrderByProductIDDetailViewModel>
    </Products>
  </OrderByProductIDViewModel>
  <OrderByProductIDViewModel>
    <OrderID>1</OrderID>
    <OrderDate>04/26/2025 07:15:23</OrderDate>
    <Products>
      <OrderByProductIDDetailViewModel>
        <InventoryID>sample string 1</InventoryID>
        <ProductID>sample string 2</ProductID>
        <Quantity>3</Quantity>
      </OrderByProductIDDetailViewModel>
      <OrderByProductIDDetailViewModel>
        <InventoryID>sample string 1</InventoryID>
        <ProductID>sample string 2</ProductID>
        <Quantity>3</Quantity>
      </OrderByProductIDDetailViewModel>
    </Products>
  </OrderByProductIDViewModel>
</ListOfOrderByProductIDViewModel>

application/json, text/json

Sample:
[
  {
    "OrderID": 1,
    "OrderDate": "2025-04-26T07:15:23.6309545-04:00",
    "Products": [
      {
        "InventoryID": "sample string 1",
        "ProductID": "sample string 2",
        "Quantity": 3
      },
      {
        "InventoryID": "sample string 1",
        "ProductID": "sample string 2",
        "Quantity": 3
      }
    ]
  },
  {
    "OrderID": 1,
    "OrderDate": "2025-04-26T07:15:23.6309545-04:00",
    "Products": [
      {
        "InventoryID": "sample string 1",
        "ProductID": "sample string 2",
        "Quantity": 3
      },
      {
        "InventoryID": "sample string 1",
        "ProductID": "sample string 2",
        "Quantity": 3
      }
    ]
  }
]